HTTP Chat Sample

Purpose

The Http Chat sample shows how to use polled events to create an HTTP based chat program.
The clients poll every few seconds for new messages and the server distributes the messages to the appropriate client(s).

Two different Session Manager and Event repotory pairs can be used in this sample:

Testing

To test this sample properly, you need to run at least three clients:

JavaScript client

Open http://localhost:8099/js/ when the http chat server is running. Examine page source to see EventReceiver usage example.